package com.sina.shop.manage.dao.admin;

import com.sina.shop.core.BaseDao;
import com.sina.shop.domain.admin.Admin;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * Description:  后台管理admin的dao
 * 段浩杰   2017-12-13-11:50
 */
public interface AdminManageDao extends BaseDao {

    Admin getAdmin(String account);

    int deleteAdmin(Long id);

    List<Map<String, Object>> getAdminList(Admin admin);

    Long getAdminCount(Admin admin);

    List<Map<String, Object>> getAdminIdAndNameList();
}
